@charset "utf-8";
@import  "helpers/_mixins.scss";                  //常用变量定义
@import  "base/_redefine.scss";                   //基本样式定义
@import  "layout/_guess.scss";                      //猜你喜欢样式定义

//////////////////////* 支付相关样式（支付、支付完成确认、支付成功、微信支付）*/////////////////////////////

// zx 2018.01.05

// 共通样式

.layout{
    width: 1100px;
    margin: 0 auto;
}
.container{
    min-height: 65vh;
    color: $fontColor;
}

/////////////////////////////// 支付页面////////////////////////////////////

.pay_title{
    font-size: 18px;
    padding: 40px 0 20px 0;
}
.pay_choice{
    padding: 40px;
    // height: 440px;
    border: 1px solid $borderColor;
    @extend %box-sizing;
    p{
        font-size: 16px;
        padding-bottom: 22px;
    }
    p.pay_money{
        .money{
            font-size: 18px;
            color:$priceColor;
        }
    }
    .pay_mode{
        padding: 68px 120px 60px;
        li{
           @extend %fn-fl;
           width: 185px;
           text-align: center;
           span{
               display: inline-block;
               width: 185px;
               height: 55px;
               margin-bottom: 40px;
               background: url(../images/pay_mode.png)
           }
           .wechat{
               background-position: 0 0;
           }
           .alipay{
               background-position: 0 -55px;
           }
           .tonglian{
               background-position: 0 -110px;
           }
           .choice{
               width: 18px;
               height: 18px;
               position: relative;
               margin: 0 auto;
               input[type="radio"]{
                    width: 18px;
                    height: 18px;
                    opacity: 0;
               }
               label {
                    position: absolute;
                    left:0;
                    top:0;
                    width: 18px;
                    height: 18px;
                    @include border-radius(50%);
                    border: 1px solid #ccc;
              }
              input:checked+label { 
                    background-color: $whiteColor;
                    border: 1px solid $activeColor;
                }
            
              input:checked+label::after {
                    position: absolute;
                    content: "";
                    width: 12px;
                    height: 12px;
                    top: 3px;
                    left: 3px;
                    @include border-radius(50%);
                    background: $activeColor;
                }
           } 
        }
        li:first-child{
            margin-right: 112px;
        }
        li:last-child{
            margin-left: 111px;
        }
    }
    .pay_go{
        text-align: center;
        padding-bottom: 0;
        a{
            display: inline-block;
            width: 170px;
            height: 50px;
            background: $activeColor;
            color:$whiteColor;
            font-size:20px;
            text-align: center;
            line-height: 50px;
            &:hover{
                background: #c79a85;
            }
        }
    }
}
//支付完成确认弹窗
.popup{
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    left:0;
    background:rgba(0,0,0,.7);
    // display: none;
    .box{
        width: 355px;
        height: 125px;
        padding: 80px 100px 60px;
        background: $whiteColor;
        margin: 250px auto 0;
        a{
            display: inline-block;
            text-align: center;
            width: 140px;
            height: 40px;
            line-height: 40px;
            border: 1px solid $borderColor;
            background: $titleBackground;
            font-size: 16px;
            color: #333;
            &:hover{
               background: $activeColor;
               border:1px solid $activeColor;
               color: #fff;
            }
        }
        a.fail{
            float: right;
        }
        span{
            display: block;
            padding-top:60px;
            font-size:14px;
            color:#999;
            text-align: center;

        }
    }
}

/////////////////////////////// 支付成功页面////////////////////////////////////

.pay_success{
    text-align: center;
    padding: 180px 0;
    .icon{
        margin:0 auto 40px;
        i{
            display: inline-block;
            width:100px;
            height: 100px;
            background: url(../images/sprite.png);
            background-position:-151px 0;
        }
    }
    .text{
        font-size: 24px;
        padding-bottom: 40px;
    }
    .link{
        a{
            font-size:14px;
            color: #999;
            padding-right: 40px;
        }
    }
}



/////////////////////////////// 微信支付页面////////////////////////////////////
.wechat_pay{
    padding: 30px 0 60px;
    border-bottom:1px solid $borderColor;
    .wechat_info{
        padding: 20px;
        background: $titleBackground;
        .notice{
            font-size: 16px;
        }
        .info{
            padding-top: 10px;
            font-size: 14px;
            color: #999;
            .price_info{
                float: right;
                font-size:18px;
                .name{
                    color: #333;
                }
                .price{
                    color: $priceColor;
                }
            }
        }
    }
    .wechat_img{
        padding: 70px 270px 20px;
        height: 351px;
        .code{
            width: 160px;
            text-align: center;
            float: left;
            margin-top: 60px;
            img{
                width:160px;
                height: 160px;
            }
            span{
                font-size: 18px;
                margin-top: 15px;
            }
        }
        .phone{
            width: 280px;
            height: 351px;
            float: right;
        }
    }
    .other{
        a{
            color:#5f8ce3;
        }
    }
}